-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
DOC: Improved links between expanding and cum* (GH12651) #14098
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Modified the auto-generating function so that the name of actual method [min/max/sum/prod] is available for link.
Fixed the PEP8 incompatible line lengths.
Current coverage is 85.26% (diff: 100%)@@ master #14098 diff @@
==========================================
Files 139 139
Lines 50490 50502 +12
Methods 0 0
Messages 0 0
Branches 0 0
==========================================
+ Hits 43053 43063 +10
- Misses 7437 7439 +2
Partials 0 0
|
|
||
sn = pd.Series([1,2,np.nan,3,np.nan,4]) | ||
|
||
sn.expanding().sum() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would specify min_periods
explicty here, as that is what we are highliting. (and maybe change the example a bit so min_periods=1
and min_periods=2
) show different results.
you may need to make this a sub-section rather than a note (as its getting long)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated this in 30025d8
can you update |
can you rebase and update this? |
@adrian-stepien Thanks! (adapted it a little bit for @jreback's comments) |
- [x] closes pandas-dev#12651 - [x] passes `git diff upstream/master | flake8 --diff` Author: adrian-stepien <[email protected]> Closes pandas-dev#14098 from adrian-stepien/doc/12651 and squashes the following commits: 4427e28 [adrian-stepien] DOC: Improved links between expanding and cum* (pandas-dev#12651) 8466669 [adrian-stepien] DOC: Improved links between expanding and cum* (pandas-dev#12651) 30164f3 [adrian-stepien] DOC: Correct link from b/ffill to fillna
git diff upstream/master | flake8 --diff